{__NOLAYOUT__}


{if topid>0}

{asp set menu = M("menu").admin_menu(topid)}
{$menu type="rs"}
<h3 class="f14">
	<span class="J_switchs cu on" title="{:L('expand_or_contract')}"></span>{$menu("name")}
</h3>
<ul>
	{asp set subs = M("menu").admin_menu(menu("id"))}
	{$subs type="rs"}
	<li class="sub_menu"><a href="#menuid={$subs("id")}&amp;topid={$topid}" data-id="{$subs("id")}" hidefocus="true">{$subs("name")}</a></li>
	{/$subs}
</ul>
{/$menu}

{else}

<h3 class="f14"><span class="J_switchs cu on" title="{:L('expand_or_contract')}"></span>{:L('common_menu')}</h3>
<ul>
	<li class="sub_menu" _class="sub_menu on fb blue"><a href="#menuid=0&topid=0" data-id="0" hidefocus="true">后台首页</a></li>
	{$often_menu type="rs"}
	<li class="sub_menu"><a href="#menuid={$often_menu("id")}&amp;topid={$topid}" data-id="{$often_menu("id")}" hidefocus="true">{$often_menu("name")}</a></li>
	{/$often_menu}
</ul>

{/if}